package lib.bone.access.module.dict.dao;

import lib.bone.access.module.dict.entity.NepuBookDict;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface NepuBookDictDAO extends JpaRepository<NepuBookDict,String> {
    /**
     *
     * @param bookType
     * @param bookLevel
     * @return
     */
    Optional<NepuBookDict> findByBookTypeAndBookLevel(String bookType, String bookLevel);
}
